//
//  ManHuaClassifyViewCell.m
//  Double
//
//  Created by 孟令博 on 15/5/22.
//  Copyright (c) 2015年 袁庆秋. All rights reserved.
//

#import "ManHuaClassifyViewCell.h"

@implementation ManHuaClassifyViewCell
- (void)dealloc
{
    [_priceLable release];
    [_myImage release];
    [super dealloc];
}

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.myImage = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, [UIScreen mainScreen].bounds.size.width / 3 - 20, 110)];
        self.myImage.layer.cornerRadius = 10;
        self.myImage.clipsToBounds = YES;
        [self addSubview:_myImage];
        [_myImage release];
        
        self.priceLable = [[UILabel alloc] initWithFrame:CGRectMake(0, 110, [UIScreen mainScreen].bounds.size.width / 3 - 20, 30)];
        self.priceLable.textAlignment = NSTextAlignmentCenter;
        [self addSubview:_priceLable];
        [_priceLable release];  
    }
    return self;
}

@end
